package com.wgtest.service;

import com.wgtest.dao.Liushui;
import com.wgtest.pojo.Operatin;
import com.wgtest.service.Liushuiservice;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

@Service
@Transactional
public class Liushuiserviceimpl implements Liushuiservice
{
    @Resource
    Liushui liushui;

    @Override
    public int addorder(Operatin operatin) {
        return liushui.addorder(operatin);
    }

    @Override
    public String queryoreder(String id) {
        return liushui.queryoreder(id);
    }

    @Override
    public int update0rder(String id) {
        return liushui.update0rder(id);
    }

    @Override
    public String quereywangzhi(String id) {
        return liushui.quereywangzhi(id);
    }
}
